import hyRequest from '../index'

enum API {
  HanziGif = 'https://service.goodcharacters.com/images/han'
}

/**
 * @description: 写汉字
 */
export function getHanziGif(zi: string) {
  return hyRequest.get({
    url: `${API.HanziGif}/${zi}.gif`
  })
}
